home *** CD-ROM | disk | FTP | other *** search
- # Makefile for GNU C compiler.
- # Copyright (C) 1987 Free Software Foundation, Inc.
-
- #This file is part of GNU CC.
-
- #GNU CC is distributed in the hope that it will be useful,
- #but WITHOUT ANY WARRANTY. No author or distributor
- #accepts responsibility to anyone for the consequences of using it
- #or for whether it serves any particular purpose or works at all,
- #unless he says so in writing. Refer to the GNU CC General Public
- #License for full details.
-
- #Everyone is granted permission to copy, modify and redistribute
- #GNU CC, but only under the conditions described in the
- #GNU CC General Public License. A copy of this license is
- #supposed to have been given to you along with GNU CC so you
- #can know your rights and responsibilities. It should be in a
- #file named COPYING. Among other things, the copyright notice
- #and this notice must be preserved on all copies.
-
- #-----------------------------------------------
- # Run this file last in gulam: 'make -f makelast'
- #-----------------------------------------------
-
- CROSSINC = d:\gnu\include
- CFLAGS = -O -I$(CROSSINC) -I.\config -I. -Datarist
- CC = d:\gnu\bin\gcc
-
- bindir =
- libdir =
-
- OBSTACK=obstack.o
-
- LIBDEPS= $(OBSTACK)
-
- # How to link with both our special library facilities
- # and the system's installed libraries.
- LIBS = $(OBSTACK)
-
- DIR = ../gcc
-
- # Object files of CC1.
- OBJS = toplev.o version.o c-parset.o tree.o print-tree.o \
- c-decl.o c-typeck.o c-convert.o stor-layout.o fold-const.o \
- rtl.o rtlanal.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o \
- symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o \
- integrate.o jump.o cse.o loop.o flow.o stupid.o combine.o \
- regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o \
- insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o
-
- # Header files that are made available to programs compiled with gcc.
- USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
-
- LDFLAGS =
- CONFIG_H =
- RTL_H = rtl.h rtl.def machmode.def
- TREE_H = tree.h tree.def machmode.def
-
- ALL = gcc.ttp gcc-cc1.ttp gcc-cpp.ttp
-
- all : $(ALL)
-
- gcc.ttp: gcc.o version.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o gcc.ttp gcc.o version.o $(LIBS)
-
- gcc.o: gcc.c $(CONFIG_H)
- $(CC) $(CFLAGS) -c gcc.c
-
- gcc-cc1.ttp: $(OBJS) $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cc1.ttp $(OBJS) $(LIBS)
-
- # C-language specific files.
-
- c-parset.o : c-parset.c $(CONFIG_H) $(TREE_H) c-parse.h c-tree.h
-
- c-decl.o : c-decl.c $(CONFIG_H) $(TREE_H) c-tree.h c-parse.h flags.h
- c-typeck.o : c-typeck.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h
- c-convert.o : c-convert.c $(CONFIG_H) $(TREE_H)
-
- # Language-independent files.
-
- tree.o : tree.c $(CONFIG_H) $(TREE_H)
- print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
- stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H)
- fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H)
- toplev.o : toplev.c $(CONFIG_H) $(TREE_H) flags.h
-
- rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H)
-
- varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h expr.h insn-codes.h
- stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
- insn-flags.h expr.h insn-config.h regs.h insn-codes.h
- expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
- insn-flags.h insn-codes.h expr.h insn-config.h recog.h
- expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
- insn-flags.h insn-codes.h expr.h insn-config.h recog.h
- explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h
- optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
- insn-flags.h insn-codes.h expr.h insn-config.h recog.h
- symout.o : symout.c $(CONFIG_H) $(TREE_H) $(RTL_H) symseg.h gdbfiles.h
- dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h
- sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-tree.h
-
- emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h
-
- integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h \
- insn-flags.h insn-codes.h
-
- jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h regs.h
- stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h
-
- cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h
- loop.o : loop.c $(CONFIG_H) $(RTL_H) insn-config.h regs.h recog.h
- flow.o : flow.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h hard-reg-set.h
- combine.o : combine.c $(CONFIG_H) $(RTL_H) flags.h \
- insn-config.h regs.h basic-block.h recog.h
- regclass.o : regclass.c $(CONFIG_H) $(RTL_H) flags.h regs.h \
- insn-config.h recog.h hard-reg-set.h
- local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h \
- insn-config.h recog.h hard-reg-set.h
- global-alloc.o : global-alloc.c $(CONFIG_H) $(RTL_H) flags.h \
- basic-block.h regs.h hard-reg-set.h insn-config.h
-
- reload.o : reload.c $(CONFIG_H) $(RTL_H) \
- reload.h recog.h hard-reg-set.h insn-config.h regs.h
- reload1.o : reload1.c $(CONFIG_H) $(RTL_H) flags.h \
- reload.h regs.h hard-reg-set.h insn-config.h basic-block.h
- caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \
- reload.h regs.h hard-reg-set.h insn-config.h basic-block.h recog.h
- final.o : final.c $(CONFIG_H) $(RTL_H) regs.h recog.h conditions.h gdbfiles.h \
- insn-config.h
- recog.o : recog.c $(CONFIG_H) $(RTL_H) \
- regs.h recog.h hard-reg-set.h insn-config.h
-
- insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h insn-config.h
- $(CC) $(CFLAGS) -c insn-emit.c
-
- insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h
- $(CC) $(CFLAGS) -c insn-recog.c
-
- insn-extract.o : insn-extract.c $(RTL_H)
- $(CC) $(CFLAGS) -c insn-extract.c
-
- insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h
- $(CC) $(CFLAGS) -c insn-peep.c
-
- insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h insn-flags.h conditions.h output.h aux-output.c
- $(CC) $(CFLAGS) -c insn-output.c
-
- gcc-cpp.ttp: cccp.o cexp.o version.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cpp.ttp cccp.o cexp.o version.o $(LIBS)
- cexp.o: cexp.c
- cccp.o: cccp.c
-
-